package com.ddstation.onsitelaw.mapper;

import com.ddstation.onsitelaw.entity.DtInvsViolationManageEntity;
import com.ddstation.onsitelaw.model.ViolationManageModel;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;


public interface ViolationRecordMapper extends Mapper<DtInvsViolationManageEntity> {
    /**
     * 违规记录
     *
     * @param hashMap
     * @return
     */
    List<ViolationManageModel> selectViolationList(HashMap hashMap);


    /**
     * 违规机构列表
     *
     * @param map
     * @return
     */
    List<ViolationManageModel> manageViolationList(HashMap map);

    /**
     * 管理后台违规机构列表
     *
     * @param hashMap
     * @return
     */
    List<ViolationManageModel> selectViolationListForPC(HashMap hashMap);

    /**
     * 机构上传数
     *
     * @return
     */
    List<ViolationManageModel> getManageUploadNum();

    /**
     * 机构违规总数
     *
     * @return
     */
    List<ViolationManageModel> getManageViolationNum();
}